package cn.ycoz.cloud.windspeed.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;
import org.springframework.data.rest.core.annotation.Description;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface JpaMethod {

    @AliasFor("path") String value() default "";

    @AliasFor("value") String path() default "";

    String description() default "";
}
